package com.dlut.service;

import com.dlut.pojo.Role;

import java.util.List;

public interface IRoleService {

    List<Role> query(Role role) throws Exception;
    Role queryById(Integer id)throws Exception;

    Integer addRole(Role role) throws Exception;

    Integer updateRole(Role role) throws Exception;

    Integer deleteRole(Integer id) throws Exception;
}
